package org.eenie.dagger2.ui.main;

import org.eenie.dagger2.entity.Article;
import org.eenie.dagger2.entity.ArticleDao;
import org.greenrobot.greendao.rx.RxDao;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Eenie on 2017/5/8.
 * Email: eeniework@gmail.com
 * Des:
 */

@Module
public class MainModule {


    @Provides
    RxDao<Article, Long> provideRxArticle(ArticleDao articleDao) {
        return articleDao.rx();
    }






}
